package com.woniu.scss.service.impl;

import com.woniu.common.utils.ResponseData;
import io.netty.util.internal.UnstableApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.scss.mapper.OrderDetailMapper;
import com.woniu.scss.pojo.OrderDetail;
import com.woniu.scss.service.OrderDetailService;

@Service
public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailMapper, OrderDetail> implements OrderDetailService {

    @Autowired
    private OrderDetailMapper orderDetailMapper;

    @Override
    public List<OrderDetail> selOrderDetail(String orderId) {
        List<OrderDetail> orderDetails = orderDetailMapper.selOrderDetail(orderId);
        return orderDetails;
    }
}
